package com.fanqiechaodan.proxy.jdkproxy.service;

import com.fanqiechaodan.proxy.jdkproxy.entity.User;

import java.util.List;

/**
 * @author fanqiechaodan
 * @Classname UserService
 * @Description
 */
public interface UserService {

    /**
     * 登录
     *
     * @param username
     * @param password
     */
    void login(String username, String password) throws InterruptedException;

    /**
     * 删除用户
     *
     * @param userId
     */
    void deleteUser(String userId) throws InterruptedException;

    /**
     * 获取用户信息
     *
     * @return
     */
    List<User> selectUser() throws InterruptedException;
}
